package wh.coach.domain.service;

import java.util.Collection;
import java.util.List;

import wh.coach.domain.User2;

/**
 * @Author xhw
 * @Date 2023/9/26
 * @Version 1.0
 */
public interface User2Service {
    void addUser(User2 user);

    void deleteUserById(Long userId);

    List<User2> findUsersBySearchName(String searchName);

    List<User2> getAllUsers();

    User2 getUserById(Long userId);

    List<User2> getUsersByIds(Collection<Long> userIds);

    Integer updateUser(User2 user);

    void updateUserName(User2 user2);
}
